package com.cheng.generator.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* <p>
* 账户角色信息表
* </p>
*
* @author 山水一程
* @since 2022-08-11
*/
@Data
@TableName("bt_account_role")
@ApiModel(value = "AccountRole对象", description = "账户角色信息表")
public class AccountRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色编号")
    @TableId("role_id")
    private String roleId;

    @ApiModelProperty("中文名称")
    @TableField("chinese_name")
    private String chineseName;

    @ApiModelProperty("英文名称;英文名称(ROLE_)")
    @TableField("english_name")
    private String englishName;

    @ApiModelProperty("是否启用【1：启用  2：禁用】")
    @TableField("enabled")
    private Integer enabled;

    @ApiModelProperty("角色描述")
    @TableField("distcription")
    private String distcription;

    @ApiModelProperty("逻辑删除 （1：未删除 2：已删除）")
    @TableField("tombstone")
    @TableLogic
    private Integer tombstone;


}